﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DataAccess.DTO
{
  /// <summary>
  /// 前台DTO
  /// </summary>
   public class ProductIndex
   {
       /// <summary>
       /// 商品编号
       /// </summary>
       public long auctionId{ get; set; }
       /// <summary>
       /// 商品地址
       /// </summary>
      // public string auctionUrl{ get; set; }
       /// <summary>
       /// 30天销售量
       /// </summary>
       //public int biz30day{ get; set; }

       #region 优惠券相关
       /// <summary>
       /// 优惠券编号
       /// </summary>
      // public string couponActivityId{ get; set; }
       /// <summary>
       /// 优惠券金额
       /// </summary>
       public float couponAmount{ get; set; }
       /// <summary>
       /// 优惠券剩于数量
       /// </summary>
       public float couponTotalCount{ get; set; }
       
       #endregion
       /// <summary>
       /// 产品图片
       /// </summary>
       public string pictUrl{ get; set; }

       /// <summary>
       /// 店铺名称
       /// </summary>
      // public string shopTitle{ get; set; }
       /// <summary>
       /// 商品标题
       /// </summary>
       public string title{ get; set; }
       /// <summary>
       /// 折扣后的价格[卖家实际的价格](不包含优惠券)
       /// </summary>
       public float zkPrice{ get; set; }
      
       /// <summary>
       /// 商品所在平台,0(淘宝)1(天猫)
       /// </summary>
       public int userType{ get; set; }
       /// <summary>
       /// 商品分类
       /// </summary>
      // public int DataTypeID { get; set; }
       /// <summary>
       /// 商品描述
       /// </summary>
      // public string Introduce { get; set; }
       /// <summary>
       /// 优惠后的价格
       /// </summary>
      // public double prices{get;set;}

   }

    /// <summary>
    /// 前台商品详情
    /// </summary>
   public class ProductDetail
   {
       /// <summary>
       /// 商品编号
       /// </summary>
       public long auctionId{ get; set; }
       /// <summary>
       /// 商品地址
       /// </summary>
       public string auctionUrl{ get; set; }
       /// <summary>
       /// 30天销售量
       /// </summary>
       public int biz30day{ get; set; }

       #region 优惠券相关
       /// <summary>
       /// 优惠券编号
       /// </summary>
       public string couponActivityId{ get; set; }
       /// <summary>
       /// 优惠券金额
       /// </summary>
       public float couponAmount{ get; set; }
       /// <summary>
       /// 优惠券剩于数量
       /// </summary>
       public float couponTotalCount{ get; set; }
       
       #endregion
       /// <summary>
       /// 产品图片
       /// </summary>
       public string pictUrl{ get; set; }

       /// <summary>
       /// 店铺名称
       /// </summary>
       public string shopTitle{ get; set; }
       /// <summary>
       /// 商品标题
       /// </summary>
       public string title{ get; set; }
       /// <summary>
       /// 折扣后的价格[卖家实际的价格](不包含优惠券)
       /// </summary>
       public float zkPrice{ get; set; }
      
       /// <summary>
       /// 商品所在平台,0(淘宝)1(天猫)
       /// </summary>
       public int userType{ get; set; }
       /// <summary>
       /// 商品分类
       /// </summary>
       public int DataTypeID { get; set; }
       /// <summary>
       /// 商品描述
       /// </summary>
       public string Introduce { get; set; }
       /// <summary>
       /// 优惠后的价格
       /// </summary>
       public double prices{get;set;}

   }

    

}
